package com.egg.ylt.adapter;

import android.content.Context;

import com.egg.ylt.R;
import com.egg.ylt.pojo.RelationEntity;
import com.yonyou.framework.library.adapter.rv.CommonAdapter;
import com.yonyou.framework.library.adapter.rv.ViewHolder;

/**
 * Created by qiuzhenhuan on 2019/1/22.
 */

public class ADA_SelectRelation extends CommonAdapter<RelationEntity.ListBean> {

    public ADA_SelectRelation(Context context) {
        super(context);
    }

    @Override
    protected int itemLayoutId() {
        return R.layout.item_select_relation;
    }

    @Override
    protected void convert(ViewHolder holder, RelationEntity.ListBean listBean, int position) {
        holder.setText(R.id.tv_item, listBean.getValue());

    }



}